package com.zh.transport;

/**
 * @description:
 * @author: zhangHang
 * @date: Created in 2020/5/16 7:26
 * @version: 1.0
 * @modified By:
 */
public class Train extends LandTransport{
    public Train(){

    }

    public Train(String id){
        super(id);
    }

    @Override
    public void drivingMethod() {
        super.drivingMethod();
        System.out.println("you need to learn driving Train.");
    }
}
